package com.zxx.pattern.observerPattern.observer2;

/**
 * @author zxx on 2021/3/9
 */
public class Person1 extends CustomObserver {

    public Person1() {
        super.name = "Person1";
    }

    @Override
    public void display() {
        System.out.println(super.name + "一边听歌一边看报纸");
    }
}
